package com.lj.back.manage.scaffold.common.util;

import cn.hutool.core.bean.copier.CopyOptions;

/**
 * BeanUtil映射配置工具类
 * @author lv
 * @version 1.0.0
 */
public class CopyOptionsUtil {

    private CopyOptionsUtil(){}

    /**
     * 获取基础的CopyOptions对象
     * @return CopyOptions对象
     */
    public static CopyOptions getBaseCopyOptions(){
        CopyOptions copyOptions = new CopyOptions();
        copyOptions.setIgnoreCase(true);
        copyOptions.setIgnoreNullValue(true);
        return copyOptions;
    }

}
